#pragma once

#include <QWidget>
#include <QTimer>
#include "ui_FileShowWindow.h"

class FileShowWindow : public QWidget
{
	Q_OBJECT

public:
	FileShowWindow(QWidget *parent = nullptr);
	~FileShowWindow();

	void SetFilePath(QString qPath, QString qName);
	QString ShowFilePath();

private:
	Ui::FileShowWindowClass ui;

	QString m_current_path;
	QString m_current_name;
	QString m_file_name;

	QTimer *m_timer;

	void file_msleep(int msec);

private slots:
	void on_pushButton_open_clicked();
	void on_pushButton_open_path_clicked();

	void slot_timer_timeout();
};
